<div class="form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'profiles-form',
	'enableAjaxValidation' => true,
));
?>

	<p class="note">
		<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
	</p>

	<?php echo $form->errorSummary($model); ?>

		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'user_id'); ?>
</div>
		<div class="rowControl"><?php echo $form->dropDownList($model, 'user_id', GxHtml::listDataEx(Users::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'user_id'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'timestamp'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'timestamp'); ?>
		<?php echo $form->error($model,'timestamp'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'privacy'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'privacy', array('maxlength' => 9)); ?>
		<?php echo $form->error($model,'privacy'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'lastname'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'lastname', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'lastname'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'firstname'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'firstname', array('maxlength' => 50)); ?>
		<?php echo $form->error($model,'firstname'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'email'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'email', array('maxlength' => 255)); ?>
		<?php echo $form->error($model,'email'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'about'); ?>
</div>
		<div class="rowControl"><?php echo $form->textArea($model, 'about'); ?>
		<?php echo $form->error($model,'about'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'street'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'street', array('maxlength' => 255)); ?>
		<?php echo $form->error($model,'street'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'cache_last_updated'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'cache_last_updated'); ?>
		<?php echo $form->error($model,'cache_last_updated'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'skill_country_id'); ?>
</div>
		<div class="rowControl"><?php echo $form->dropDownList($model, 'skill_country_id', GxHtml::listDataEx(Country::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'skill_country_id'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'skill_state_id'); ?>
</div>
		<div class="rowControl"><?php echo $form->dropDownList($model, 'skill_state_id', GxHtml::listDataEx(State::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'skill_state_id'); ?>
		</div><!-- row -->
                </div>
        

        
             
        
             
        
             
<div class="row">
<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div>
</div>
<!-- form -->
